package com.xinhe.web.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "tb_weixin_config")
@ApiModel(description = "WeixinConfig配置")
public class WeixinConfig {
    @Id
    @ApiModelProperty("id")
    private Long id;
    private String appId;
    private String appSecret;
    private String mchId;
    private String payKey;
    private String certPath;
    private String serviceId;
    @ApiModelProperty("拥有者标识")
    private Long fOwnerUserId;
    @ApiModelProperty("类型")
    private String type;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getPayKey() {
        return payKey;
    }

    public void setPayKey(String payKey) {
        this.payKey = payKey;
    }

    public String getCertPath() {
        return certPath;
    }

    public void setCertPath(String certPath) {
        this.certPath = certPath;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public Long getfOwnerUserId() {
        return fOwnerUserId;
    }

    public void setfOwnerUserId(Long fOwnerUserId) {
        this.fOwnerUserId = fOwnerUserId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
